import React from "react";
import "./App.css";
import Container from "reactstrap/lib/Container";
import PersonalDetails from "./PersonalDetails";
import { IPersonState } from "./State";

export default class App extends React.Component {
  private defaultPerson: IPersonState = {
    FirstName: "",
    LastName: "",
    PhoneNumber: "",
    Email: null,
    Address: null,
    DateOfBirth: new Date().toISOString().substring(0, 10),
    PersonId: "",
  };
  public render() {
    return (
      <Container>
        <PersonalDetails DefaultState={this.defaultPerson}></PersonalDetails>
      </Container>
    );
  }
}
